package com.exam.pojo.dto;

import com.exam.pojo.dto.ImageInfo;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

/**
 * @author LG
 */
@Data
public class Item {
    @Field("serial_key")
    private String serialKey;
    private String content;
    @Field("has_img")
    private Boolean hasImg;
    private List<ImageInfo> images;
}
